projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8918e3
)
If the 'sched' parameter is unrecognized, choose the first scheduler
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 15 Feb 2010 17:49:14 +0000
(17:49 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 15 Feb 2010 17:49:14 +0000
(17:49 +0000)
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/schedule.c
patch
|
blob
|
history
diff --git
a/xen/common/schedule.c
b/xen/common/schedule.c
index 600baeac05ef434450741553bc7bbe7244bb871e..3b4be55d79ba2f8a841ba68a97cb039259492736 100644
(file)
--- a/
xen/common/schedule.c
+++ b/
xen/common/schedule.c
@@
-929,7
+929,10
@@
void __init scheduler_init(void)
}
if ( schedulers[i] == NULL )
+ {
printk("Could not find scheduler: %s\n", opt_sched);
+ ops = *schedulers[0];
+ }
printk("Using scheduler: %s (%s)\n", ops.name, ops.opt_name);
SCHED_OP(init);